bug fix and updated config examples for ubuntu