bug fix: plugins should receive home and repo path
bug fix: db config