globalOptions moved to a separate file
originalData moved to a separate file