removed regex from notebook tag, refactored a bit, and added output_only
param. Need to enalbe functionality of excluding input