Added checks for output style and source map