Code Update

Fixed GetAttributes.
Added FillApplications.