Add python version usage and error checking in unix script