Added utilfuncs to improve workflow.