added mkdir -p for bin directory