Fixed case insensitive check for scripts folder