API isOnDev function, project ID stuff, all reinvented since I lost ALL OF THIS CODE when I was forced to reset my git branch as a result of making everything terrible