script to create notecard table