added config param and updated readme