Update for reflection
Throw errors if there is a error when doing the commands