adjust control and install scripts