Made modifications to accomodate for the new level layouts.