Finish up flag tasks ready for deploying