make shell functions not executable and fix function name