Use current URL rather than hard coded server URL