implement python script for installation