modified Documentation command to use profile