modifying default value for -d switch, from process.getcwd() to '.' for better output