plot weight script added to sd settings