General utillities for day to day scripting