just a bit of indentation clean up
only do the file copying when there are base-files
clean up indentation
more indentation clean ups