change routes to relative
remove old script