Added interval option and scale option.