separate local and remote urls