adapting runtime to new command constructor