main script renamed
app init fix