Add an option to use minelayer in minstagib