Cleaned up the file, prepared Detached for data to be inserted, corrected construction details.