added script for assembling, creates .pto file uses it and removes
temporary files