Updating to work in maya/shell.