implement on and off post, move hardcoded config params