Restoration of new SM_BOX function

This got lost somehow in a revert, hopefully nothing else did
Update fix from main rep
Merge remote-tracking branch 'origin/master'

Conflicts:
	starmaded.sh