It's not crashing, it's just failing to compile. It's not compiling because not every part of the code is reached. Once you get to the first startfile, it starts over again, so it can't reach the second one. Move the second startfile up, so it gets executed before the first one.