Profile Finalization / SQL

Saved separate SQL files for clarity - finalised the profile script.