Cleaned up iscam.tpl code.