Fixed help comment
removed useless statement
Improved flagging, now using mask 5
close fits file