added command refrence inside extension