Some scripts in bash