revise for Reproducible code
add png option and moved lbw cuts