building & cleaning scripts refactored for an understandable output (e.g. in case of error)