Cleaned up php scripts and changed connection to SSH