created startup cmd, and pre-init hook ability