CPU scaling script