Fixed bugs in create from script.