Better periodic scheduling, tsorted setups, and better c command