Functioning curl scripts to add machines and apps