Add --call-phantom option, better implementation