Updated update script and added status check script