Divided the script into sections. Added more switches.