moved utility scripts into utils