Added way to set queue variable for forked jobs