updated clear.sh script