skeleton of what the script has to do