Fixing the missing bin directory bug