implemented stop and status scripts