Require function in machine, using current file path