fixed problem with running from binary distibution