updated hsmp deployment scripts
added logging and minor bug fixes