Changed database to memecache and repaired cross function.