first run script fix