Adding in ScriJe API code from 2010.