Changed shader filenames to options and added checking.