added scripts to work outside OE