Updated scripts to remove any modified artifacts from Res directory.
Not doing it causes side effects on the testsuite.