starting from the ipcam code now because the default code form the toolbelt generator doesn't work