initialize commands to current state