Need to escape ' for matlab script to work