added script for launchctl