new libexec script almost finished