updated script, removed debug vars and minor updates
updated script, added formatting and better ux