modified install to create public_keys directory