modified launcher.c to recognize limits