IMPORTANT BUGFIX for UnboundLocalError: local variable 'currency' referenced before assignment
Released v1.6