Added possibility of setting service account and service working directory