Create cause page script and alert system