script for bokbase