Added callback function to tweak prompt dynamicly