Changed ItemScript to ItemWrapper and refactored (2nd pass)