use env_path method instead of ENV[‘PATH’] in full_path
use File::PATH_SEPARATOR in env_path