fixed scripts because prime