updated pre/post install scripts for setup.py