Make print() statement a warning(), add garbage collection, and change SamplePosts to 15 instead of 30.