breaking init and subdir into separate commands