Documented and renamed variables in compile script.