Fixed mat problem, fixed awkward script starting problem