diff --git a/prepare_bcbio_config.sh b/prepare_bcbio_config.sh
index 60a458e6bcc496794a088a76fb156a337af5bfec..e42b5e6a183d5226df49776d2ca645c9273236f0 100755
--- a/prepare_bcbio_config.sh
+++ b/prepare_bcbio_config.sh
@@ -116,6 +116,8 @@ do
   perl -i -pe "s/${COMPRESSED_ID}/${FAMILY_ID}/" $CONFIG_DIR/${PREFIX}.yaml
 
   rm -r ${PREFIX}
+
+  mkdir -p ${OUTPUT_DIR}/${SHORT_PROJECT_ID}_${VERSION}/params/
   mv ${PREFIX}.csv ${OUTPUT_DIR}/${SHORT_PROJECT_ID}_${VERSION}/params/
   mv ${PROJECT_ID}_${FAMILY_ID}.ped ${OUTPUT_DIR}/${SHORT_PROJECT_ID}_${VERSION}/params/