Separate functions to its own file
remove unused PATH