fix script for first install