adjusted to run correctly at different PCs

@Youssef-Emad