added current_path_exit publishing