Update start script and ip logic