Fix scripts to read child themes if available