convert `create-bundle` to deploy script