fix activation script