Fix mirror, quote strings with variables, add gitignore file for sources