name="$1"
if [ "$name" = "" ]; then
usage ; die "Missing instance name"
fi
set_upload_path $name
if [ "$USE_MEMCACHED" = "yes" ]; then
-