Added -p to mkdir to prevent errors during replacement install