modify path so can run with or without -m