adapt for server

change some links to work with apache url rewrite