add script engine for selector