replace with functions
remove PATH variables