Modified config of IMGKit to use variables.