Added some null checking for non ASG launch cases.
Added ability to scan multiple formulaPaths to find the first valid one. Added more error handling.