Various and varied updates to gbm() script