added debug
added debug
added debug
initial commit
tweaked for foreman