clean and build scripts updated
making pdf output work