Fix name of init function and bundle dir