Changed API localplay to localPlay