Reworked the way LaunchAgents are handled