Delete obsolete items before executing the script