Adds conditional instances dir removal