Fixed folder permissions when pulling targets with sudo.
Added error checking when loading settings.
Added pull usage on unrecognised target.