Add script to resize images