add bat mode & fixed bugs in shader files