Make 'make submit' work