Changed distributor to accepts strings

Changed distributor to accept strings as well as longs so that
definitions parsed from parse_ini_files may be used as is