anchor.diff:              -i)
                   shift;
                   export INSTALL_ROOT="$1"
  +                export RELEASES_DIR="${INSTALL_ROOT}/releases"
                   shift;;
               -o)
                   shift;
  
positive.code:     if [ -z "$USE_FLAT_RELEASE_DIRECTORY" ] ; then
          RELEASE_ID=<%= release_id %>
          DATESTAMP=$(date +%Y%m%d%H%M%S)
          INSTALL_DIR="$INSTALL_DIR/releases/${RELEASE_ID:-$DATESTAMP}"
      fi
  
      if [ -d "${INSTALL_DIR}" ] ; then
  
negative.code:         fi
          ln -s "$OLD_CURRENT_TARGET" "$CURRENT_DIR"
      fi
  }
  
  function clean_out_old_releases(){
      [ -n "$USE_FLAT_RELEASE_DIRECTORY" ] && return
      
      while [ $(ls -tr "${RELEASES_DIR}" | wc -l) -gt 2 ] ; do
          OLDEST_RELEASE=$(ls -tr "${RELEASES_DIR}" | head -1)
          log "Deleting old release '${OLDEST_RELEASE}'"
          rm -rf "$OLDEST_RELEASE"
      done
  }
  
  function print_usage(){
  