Add entries for setting default options and the node path
Move utility functions at the top of the file