FEAT: minor improvements to frontend script.