Added p range and result download.

Optimized check changes.