Added position shift function
Automatic path & basename creation