fixed relative path
added flat file temporarily
added scripts
removed superfluous code