Fix action chain scripts.
Deleted unneccesary classes.