updated playerOptions function