fix download links and add apache user if doesn't exist