added command persistance