added wp_head action hook