config and deploy