Switchable script processor implementation on Repository tier and Nashorn-specific importer implementation