You can remove a lot of this by defaulting forced to True and setting it to False at the end of the try. It'll remove the need for all of these else blocks.