added debug scripts injection