added script configuration to loadmodel