Added scratch directory