Add environment logging to deployment script