upgraded stop script, added restart script
json output instead of badly formatted text