Add custom_fragment to backend/frontend