init python script and params parsing