add many comments and perhaps use correct quantity indices???
add cleanup script