fixed bug in when the path was altered
bugfix

current directory needed to be in the path too