Added localserver checks for deployments