update to put command restrictions later in the chain
update to show DI