Added a production tagging function
tag formatting