Core/Scripting: Updated BWL Scripts. Thanks to gerripeach for the base.
Closes #4952 #9283