Added -n print only flag