add client config and env scripts