allow penalties to be specified in config file