adapt script to local env
auto layout graphs