ticket:9 change command to work with any app model