Modified to allow agent to pull from atlassian and added ssl support for agents