Adding the hooks for css