Added download previous version functionality.