added config method to local require to get context configuration