Run database creation

It's important to run creation database function "onload".