Restart shell after mac script finishes