add sourcemap flag to settings