switched deprecated path.exists to fs.exists
include custard via submodule rather than copy