Updated the 'help' function to be more dynamic and less dependent on constants.