Cleaned up bootstrap. Added sanity check for file copy.