added config file, updated a few scripts