Use common parsing function
Use parsed args
Create local env