Implementing script engine #2