construct the command after reading the defaults file