fix default srg setting and fix output filename creation