Fixed order of commands and updated .gitignore file