chmod +x boxmed.R in cyscore