beautified the script

made it more readable