only need one script file for materials