Cleaned up optimization specification, added comments for optscript and pltscript