add jobmanager init script
clean up init script