Added type to script