get path to main module so it works with forever