added punchcard toggles and db tables