changed duration and added exit()
Merge branch 'master' of https://github.com/jd-pirtle/sudden_loss