executing main.
main: passing params via argument instead environment variables.