multple changes
add require(scales) to make sure log scale is supported
tons of changes
updates