add deploy and refactor variables