Fixing issue with deploying twice.