added script for setting pixel size