Added skill check function
Clean up and addition of Attributes func
Broken save
Fix error by de-indenting an else