Improve installation of Swift files
Better error message
Send all output to LOG(); fix some PROFILE variables