use app/script to resize the images