fix script for cygwin
debug config
debug msgs
rebase master
new file check - fix spaces in file path