Fixed storage issues. Bot will now check for existing records.