add autostart for app, and really add the regex this time