Cleaned up the script. It is checking all collectors, if a collectors fails, the script should not crash anymore