Telit modem does not initialize after boot

It seems that not matter what method I use, the modem doesn’t initialize after booting up. I had previously created a service and script to initialize it. That worked a few times but then it stopped working. I tried using a cron job to run the script and that didn’t work for long. I went in and made sure I saved AT#ECM=1,0 by also running AT&W (to save current config) and it works like a charm when I do it manually, but it won’t save or run the scripts. I’m at a loss now, out of ideas.