Added option to get and set the spawn