Yeah, I dont think flagErr = 1, currently does anything. Its currently a placeholder for an actual error code rather than a "real" error code hence the exit. I believe there are fluka error codes that we can use such as flagErr = -33 coming from the Flugg documentation.