Fixed tabs and added exit code.