Updating executable with extra commands and better error handling