I am having a error and i dont see anything wrong Code: #!/bin/bash echo "===AutoWalls Startup Script V 1.0 By Jkush321===" if [ -d "custom1" ]; then echo "Found custom1..." else echo "custom1 directory missing! Download the walls 1 and name it custom1" exit 0 fi if [ -d "custom2" ]; then echo "Found custom2..." else echo "custom2 directory missing! Download the walls 2 and name it custom2" exit 0 fi if [ -d "custom" ]; then echo "Found custom..." else echo "custom not found... copying" mkdir custom cp -r custom1/* custom fi start() { echo "Starting Server..." rm -rf walls mkdir walls cp -r custom/* walls java -Xms640M -Xmx640M -jar bukkit.jar start } start And the error is ===AutoWalls Startup Script V 1.0 By Jkush321=== : not found: start.sh: 33: Syntax error: end of file unexpected (expecting "then")