compiler warnings, improved scripts, updated README