Added a function to "edit profile script"