overwrite flag will now work with .cls and .sty