Updated configure_os func and used constants for LOCATOR_FILTER_KEY