More careful with the environment, more error handling in toplevel script