updated code to be non-server URL specific