Moved zap_directory to the end of the resource list
Split zap into two phases, :delay and :run.
Use ::File.join instead hardcoding slash