fixing init script with /opt directory