replacing urls for appspot