Added cleanupshell for cron uses