adding debugging script
Merge branch 'optimising'
final build