Factors out calling commands
Fixes future_command