Updating the simple build script to check for required files