Now configures application before starting.