adjusting links to work for dev and production