minor: fixing scripts and fixing soft rlimit for launchctl