added post install and pre remove scripts