added --init option