it is lslezak code and I keep it as it is. About require relative I am not sure as it have some annoying consequences if you want just place one modified file.