added the List case to evalScript', and modified its type to accomodate List's needs