moving away any code from the script body, it gets executed even for simple things like version check, pip based packages would fix that problem