Create "loot_script" and related test stub + clean-up