Moving setup to shell file