simple pin activation script