added exit for script