anchor.diff:  if [ "<%= node[:valhalla][:with_updates] %>" == true ]; then
     {
       tar pcf - -C ${cur_tile_dir} . | pigz -9 > ${cur_tile_dir}.tgz
  -    <%= node[:valhalla][:conf_dir] %>/push_tiles.py ${cur_tile_dir}/connectivity_${stamp}.geojson ${cur_tile_dir}/${stats_file} ${cur_tile_dir}.tgz
  -    rm -rf ${cur_tile_dir} ${cur_tile_dir}.tgz
  +    rm -rf ${cur_tile_dir} &
  +    <%= node[:valhalla][:conf_dir] %>/push_tiles.py ${cur_extras_dir}/* ${cur_tile_dir}.tgz
  +    rm -rf ${cur_extras_dir} ${cur_tile_dir}.tgz
     }&
   fi
  
positive.code: 
  # name the dir where this will go
  stamp=$(date +%Y_%m_%d-%H_%M_%S)
  cur_tile_dir=$(dirname <%= node[:valhalla][:tile_dir] %>)/tiles_${stamp}
  
  # things we need to make if we dont have them
  extracts=$(find <%= node[:valhalla][:extracts_dir] %> -type f -name "*.pbf")
  
negative.code: rm -rf *.bin
  set +e
  
  # package up the tiles and the admin and timezone dbs
  cur_tile_dir=<%= node[:valhalla][:base_dir] %>/tiles_${stamp}
  mkdir -p ${cur_tile_dir}
  mv <%= node[:valhalla][:tile_dir] %>/* ${cur_tile_dir}/
  
  # package up the extra stuff
  cur_extras_dir=<%= node[:valhalla][:base_dir] %>/extras_${stamp}
  mkdir -p ${cur_extras_dir}
  pushd ${cur_extras_dir}
  valhalla_build_connectivity -c <%= node[:valhalla][:config] %>
  for f in connectivity*; do
    mv $f ${f%.*}_${stamp}.${f##*.}
  done
  stats_file=$(jq -r '.mjolnir.statistics' <%= node[:valhalla][:config] %>)
  mv ${stats_file} $(basename ${stats_file} | sed -e "s/\(\.[^.]\+$\)/_${stamp}\1/g")
  cp -rp <%= node[:valhalla][:transit_dir] %>.tgz <%= node[:valhalla][:transit_dir] %>_${stamp}.tgz
  popd
  
  # backup files and tile dirs, keep the admin and tz stuff though
  cp -rp ${cur_tile_dir}/$(basename ${admin_file}) <%= node[:valhalla][:tile_dir] %>
  cp -rp ${cur_tile_dir}/$(basename ${timezone_file}) <%= node[:valhalla][:tile_dir] %>
  
  