Modified CLI and trap compilation error: now the compilation ends immediatly if one file is not successfully compiled