Can you make these paths `__dirname + '.....'`, so that it does not matter where you are executing the command from ?