add set_env in calker_train_examples function