Add size logic to prevent verticals
Deployed image factor constant
Adds de-dupe routine to main function
Corrects missing // in main function