Fixed syntax and made runnable
Added example config