added option to save log ratios and made writing bin scores optional