call phantom directory from Go, avoiding using shell script for maintenance costs