Updates to the profile script