configurations in hash (no more global vars)