silence some compiler warnings
fix script search paths