Edited the Advanced Gallery and class config file