Created flags to indicate whether the program runs a standalone executable or as a set of library procedures called from another program like SWIFT or python