icm-1: Fixing issue with database creation

Hopefully fixing database creation. Works for my database, need verification that it still works in other environments.