Added custom scratch buffer script.