changed variables to @VAR@ in startServices