Moving the new type settings to separate functions
DG script committ