fixed bug in output_bgq file naming