Changed loading shaders algorithm