Added functions to get paths from env