Project ref. parsing fixed; added file logging