updated logging on bin scripts
fixed bug, added new logging statements