added PDF manual, slightly changed scripts