updated fix_drama script for generic use