Production version release

Code updated, errors fixed and tested. Ready for production use.