Multiple fixes. Added proper open in application