change the output file location so it works properly when included from another node package