change fact to use ENV rather than cmd
add a couple custom facts to set filepaths
remove broken fact
use new facts in params
new config template