Thanks savage, I was struggling with this for a while.
However the settings aren't saved when the router is rebooted. To fix this do the following:
Open router settings >> Administration >> System
Set "Enable JFFS custom scripts and configs" to Yes and click Apply
SSH or WINSCP into the router...