adding scripts for resizing images