Fixed issues with register.py
Bumped version to 0.4.1