If the user deploys a farm's app, pass to the script the ACTUAL name of the farm instead of the alias given