renamed scratches folder
minor refactoring