threw the whole script into the async function. not ideal