Made path constant to work both on remote and local server