Change all of the php urls to correct variable