Fixed require() references to nearest