Added getBaseOptions to allow setting up options without depending on process.argv