Help with Sheet.ByNameNumberTitleBlockAndViews error

Managed to get it working using the python script by @4bimfercesp from this post

However the view is totally off-center :stuck_out_tongue: