Fix scripts/ and other directories