Fix run script and allowed_hosts