Upgraded mysweave