Example code for create_env_dict and create_before_add_func