Fixed drawing scripts.