Added EDITOR environment variable