Fix stylesheet reference, minor php-ification