Fix installlaunchagent()