Moved stuff into main()
Force overwrite of existing files