added some checks for existing files during the setup process