fixed majord script, added basic plugins