Move the full body variable into the first if statement

What: I moved the first full body variable into the first if statement,
Why: because only the stuff in that if statement needs access to that variable