Added the ability to get targets from server