saving shaders before begining work