split out settings
Remove the pth stuff again