added button config generator