Update main scripts