Modified error handling of lint-scripts