modified script representation and added combinators to build a script