added --application to open command