[ADD] added import Darwin to make the exit() call available