REFACTOR deploy conf