Adding python script to scale images