return 1 on failure. print remove link by default for now