added stderr instead of stdout printing for bundling errors