Fix init script for proxy