Fix creation of init file