connect frontend to backend by producing custom pngs