Fixed bug with sources directory