fixes if-up script