add scope to each ast node and updated gitignore