check if files have been generated before trying to install them (#31)