startup script tweaks