Another bug fix to allow to run from git deploy