Sawtooth Oscillations in shaped plasmas