redirect stdout to stderr and guick hack for ulimit