added pre-install scripts