Don't need this anymore - doing it with php.