Added check if the shader could be found