Fixed deployment of nt services and scheduler apps after refactorings.