Modified input script for pixel numbers not sizes