add new command and fix download bugs