moving scripts to scripts and changing ips to routes