stuff to make PM2 work