utils: improving utility scripts.