add exit status and bail on fail to installer