added config and env