Make sure you have the script manifest.
@ScriptManifest(author = "Gunman", info = "", name = "Spaghetti Island", version = 420.69, logo = "")
public class Main extends Script {
Can change the info to whatever you want but make sure it's all filled out.