moved the standard curve attaching call into run
remove nil returns when finding standard curves