Fix prefix directory in service scripts