CD-64
- order of the opt and app variables must be defined ahead of
  override_functions to build the log path.
- username replacement fixed in create_module