fix init script for supervisor