Updated workflow and fixed variable name typos