New version of script
Added support for clang