change how IPDIR is defined
fixed call to install