Bumped version to 3.2.1, added upgrade script