Ok zoom seems to be going, need to pass it right value though...
Ok got panning and zooming working from command line
Ok randomized file names and tempfiles as well
Do not zoom if zoom is one should save time