Modified story activity to accomodate xml