Fix script to run local server