Implemented a very simple script engine