Added support for printing in tag. Fixed gitignore for intellij