scribe base code