rework to allow votecount app to be loaded from config file (not working)