handle defaults and ulimit