adding subprocess import for main file