migrated perceptual script to base gun