Hi @Surender Balasundaram,
Thank you for your interest in my article and for your questions.
Unfortunately, the script I developed is not designed to publish an application whose definition is not yet available in MAS Manage. Therefore, the first publication (of custom MAS Mobile application - clone) in a given environment needs to be performed manually.
Regarding your configuration/question, all script parameters must point to one specific environment, for example DEV (you can't connect from MAF Tool located in DEV to MAS Manage UAT).
For continuous development (CD) I suggest to review yaml file bitbucket-pipelines-mas.yml(please see the section step -> deployment [DEV|TEST|PROD].
If you are using Bitbucket and would like to implement CD below you can find example deployments definitions for TEST and DEV environments (please see how url variables are defined - they are pointing to one specific enviornment):