Added post command stop
Added prepare state