What's required in a script file??`

so I have some of my script done but when I test it. The script does not show up and I installed it correctly?

In order to run a script outside of the text editor, you need to turn it into an addon. Check out this tutorial: https://www.blender.org/api/blender_python_api_2_72_release/info_tutorial_addon.html