script to resize icons