add main_path