Removed check for interactive shell