type.Global added, added bat file for windows