Add update-init-script to auto-replace script content