add an option for minimize on startup
add an option for minimize on startup