Improved bash-scripts