Moved application run helper to kernel