Modifications for the Pyratron skin and changes for our applications