added resizeimage script