updated generate_app command