fix scripts to set unit files