Download main script and settings