Fixing #136

Check if we passed an override parameter for layers issue #136