add frontend script