Fixed code for adding random projects but only single project is being added.