Update script and port mapping