Added phantom.kill() to exit()