anchor.diff:  
   :devportal
   echo Starting to optimize API Manager for the Developer Portal profile
  -call :disableDataPublisher
  -call :disableJMSConnectionDetails
  -call :disableBlockConditionRetriever
  -call :disablePolicyDeployer
  -call :disableTransportSenderWS
  -call :disableTransportSenderWSS
   call :removeWebSocketInboundEndpoint
   call :removeSecureWebSocketInboundEndpoint
   rem ---removing webbapps which are not required for this profile--------
  
positive.code: 
  :gatewayWorker
  echo Starting to optimize API Manager for the Gateway worker profile
  call :disablePolicyDeployer
  call :disableIndexingConfiguration
  rem ---removing webbapps which are not required for this profile--------
  for /f %%i in ('dir %pathToWebapps% /b ^| findstr /v "am#sample#pizzashack#v.*war"') do (
  	del /f %pathToWebapps%\%%i
  
negative.code:         ren %pathToRegistryTemplate% %registryBackupTemplate%
          call :Timestamp value
          echo %value% INFO - Rename the existing %pathToRegistryTemplate% file as %registryBackupTemplate%
          ren  %pathToRegistryTMTemplate% %registryXMLTemplate%
          call :Timestamp value
          echo %value% INFO - Rename the existing %pathToRegistryTMTemplate% file as %registryXMLTemplate%
  	)
  