Added additional logging

Added more echo statements to improve debugging