moved stuff to CSS file, used URL generation