bag commands as scripts