Error on "gotoIf" and "label" function from selenium

I have exported my script from Selenium IDE into Katalon, and when trying to run it , it seems to error out due to the “gotoIf” and “label” functions which are showed underlined in my script :

FAILED because (of) (Stack trace: groovy.lang.MissingPropertyException: No such property: storedVars for class: Script1539808386778

below is a sample of my script:

selenium.gotoIf(storedVars\['logoutIcon'\] == true, 'alreadyLoggedIn')

boolean accountPresent = selenium.isVisible('id=AccountName')

selenium.gotoIf(storedVars\['accountPresent'\] == false, 'skipToCreds')