Finished 'parsing' scripts - fixed bug