Fixed problem with path when no properties file supplied.