Non-interactive mode

Adds an option ```-y``` that runs the script with no command-line interaction.