Updated the script to work on a RasPi with specific keyfiles for SSH.