nit: Please stick to camelCase for all variables: `gaiaDir, sharedDir, baseDir`.