Hackish stuff to make it work for my site