extended setup script