Moved require for logic.php to body