Python utility scripts