Fixing relative directory issues.