Update shell and run scripts, expose api port