turned parameters hash back into an array
finally made interface able to take parameters from STDIN