grabbed key files from nealelab-scripts
copied from nealelab-scripts