Changed startup script to use configuration file