backwards compatible config loading, fix truth checking