Refactor configure to push-config