Adding newtype and data type scripts