fix proxy script