script to check functions and classes