Modified CS1010S script