Syntax error fixes and settings changes