I have not fully understood your situation, but can you not just change the PATH environment variable?