Add method_optiion to specify environment from_file for apply