Fixed syntax errors and added sample config file