renamed schedule to available
add fix to make sure last segment is scheduled even if less than max
updated readme
bumped to v0.0.6