Update init script and work dir