runnable photo resize script