changed downloads, added if(no_db) for footer