added locking to logPush and added an SCP script for extra support