add missing config.sh.dist file, fix gitignore