Edited encrypt.py for use as command line call