make BashSourceGenerator restricted