starting to convert to scripts class