fixed build script to be more dynamic
updated read me