debug filemakeing added to iOS /not working properly right now/