trying to get the program to recongize its path when called by searching PATH variable by shell