removed version spec and added scriptencoding spec