add default values in variables + add DS_Store in gitignore
fix slash missing in base_dir