Added optional load of script