Moved around server to succesfully replace links
got basic linkreplace working