Python script similar to /usr/bin/env but allows specifying the interpreter and modules required