Replace static handles
Cleanups
Added shortcut for using reflex
Consolidated logic for running commands