setup script for installer