added config and exithook script