fixing a few things in run and adding it to the command list
setting up option object for hooks add