fix start scripts over ssh