Bug fixes in automatic package installation and frontpage selector