Place elevation on sheet

I made this script but when i run it it places the elevation to the bottom left on the sheet while i want it to be in the middle but i cant figure out to make it work
Knipsel