Spilt out all critical info into dbinfo & create_script.