refined cpu and utility scripts