added --decrypt support