Using @ for variable access to basedir

Variable access via 'basedir' is deprecated. Use '@basedir' instead
Merge pull request #28 from mythsunwind/patch-2

Using @ for variable access to basedir