Changed autobuy to be based on CPS