Reordered imports to have sys.exit() when scriptine is not found.