switching to internal files for setup, no reason for all the curl requests