os.Args[0] doesn't point to absolute path we need use exec.LookPath to find the absolute path before sending os.Stat().