add btc plugin to sample config
bugfix global vars