Added the ability to run a custom command