perfromance improvements and binary sending from bot to app