Passing executed cmd number to persistance