installer - preinstall.py

trying in python this time instead of bash.

note: argparse is awesome