Cleaned up profile from some more script analyzer warnings