Added deploy flatly to build flatly