Updated scripts with more comments