Modified main script , added gitignore file.