adding .key to gitginore and updating script to load key from file