Changed main activity to exec activity