Fixed start and stop, attach, ping functionality in linux
mac script fixed