Changed pack parameter to correct dir