Refactored submit command construction to backends