cpu scaling script.