Making map generating runnable