Use once instead of on
Remove extraneous require