chmod x foreground.sh