Terminal Handler for iTunes (Original script by Israel Chauca)