script now removes all records older than 30 days