improved bootstep script for linux