Option to only run once.
Bugfix for executing commands.