removed main function

changed scripts so that they don’t require the user to call a function.