Added directory removal support to installation script.