moved global.oils right after app object is known