Add the ability to retry commands and exit on failures
Before install not script