updated profile script