Updated README and added exit statements to main script