Shortened case change to string_check

Made it check a string to be more specific and then take in variables