Check if folder exists first to prevent error