export AWS_SECRET_ACCESS_KEY="<%= @aws_key %>"
export AWS_REGION="eu-west-1"
-nice -n 19 /usr/local/bin/tilelog --date ${DATE} && mv tiles-${DATE}.txt.xz "${OUTDIR}"
+nice -n 19 /opt/tilelog/bin/tilelog --date ${DATE} && mv tiles-${DATE}.txt.xz "${OUTDIR}"
+
+rm -rf $TMPDIR