Fix BBS50 script

A number of fixes had been made to the BBS script that were not included in the BBS50 script.
This ports them into BBS50.