Add clean and replace functionalities to grunt