Setup some initial conditions to handle a program with/without a main
function