Update env script in order to handle params from command line