Removing hardcoded path for Static and template dirs