Fix identities_db access. Don't use opts.identities_db anymore.
Use identities_db from Automator config.