Added the option to specify a player container