Added better Main-control and J+runtime as input