changed to plain instead of multipart, also fixed variables.