fix faulty char definitions

stabalize script by removing buggy audio and video recording