Stat Layer order

Resolved issue where the code was not looking for the stat layer by the
static keyword specified in the config.
(cherry picked from commit 2dfaf10db803eee39ecb547c176ebdeae35e829b)
Initial release of 10.2 version