Added object clean step after making main