better approach then re-execing the whole script