Improved error reporting and detection
Brought the configure up to scratch. Renamed the scripts