add __version__ attribute, bump version to 1.2.1