Added thumb nail to SCP and optimized mkdir